package practise.interview;

/**
 * Created by richard on 4/28/14.
 */
public class AssertTest {

    public static void main(String[] args){
        //-enableassertions or will ignore the assert, and after 1.4, ignore all the assert in default
        assert "a".equals("a");
        assert 1==2:"not equal";//Exception in thread "main" java.lang.AssertionError
    }
}
